package com.hornsun.domain.dbo;

public class Prescription {
    private String prescriptionGuid;

    private String drugGuid;

    private Integer timesOneday;

    private Float capacityOnce;

    private Float days;

    private Float amount;

    private String usages;

    private String unit;

    private String remark;

    public String getPrescriptionGuid() {
        return prescriptionGuid;
    }

    public void setPrescriptionGuid(String prescriptionGuid) {
        this.prescriptionGuid = prescriptionGuid == null ? null : prescriptionGuid.trim();
    }

    public String getDrugGuid() {
        return drugGuid;
    }

    public void setDrugGuid(String drugGuid) {
        this.drugGuid = drugGuid == null ? null : drugGuid.trim();
    }

    public Integer getTimesOneday() {
        return timesOneday;
    }

    public void setTimesOneday(Integer timesOneday) {
        this.timesOneday = timesOneday;
    }

    public Float getCapacityOnce() {
        return capacityOnce;
    }

    public void setCapacityOnce(Float capacityOnce) {
        this.capacityOnce = capacityOnce;
    }

    public Float getDays() {
        return days;
    }

    public void setDays(Float days) {
        this.days = days;
    }

    public Float getAmount() {
        return amount;
    }

    public void setAmount(Float amount) {
        this.amount = amount;
    }

    public String getUsages() {
        return usages;
    }

    public void setUsages(String usages) {
        this.usages = usages == null ? null : usages.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", prescriptionGuid=").append(prescriptionGuid);
        sb.append(", drugGuid=").append(drugGuid);
        sb.append(", timesOneday=").append(timesOneday);
        sb.append(", capacityOnce=").append(capacityOnce);
        sb.append(", days=").append(days);
        sb.append(", amount=").append(amount);
        sb.append(", usages=").append(usages);
        sb.append(", unit=").append(unit);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}